package com.ruoyi.eam.mapper;

import java.util.List;
import com.ruoyi.eam.doman.EamManageD;

/**
 * 资产记录从Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-19
 */
public interface EamManageDMapper 
{
    /**
     * 查询资产记录从
     * 
     * @param assetId 资产记录从主键
     * @return 资产记录从
     */
    public EamManageD selectEamManageDByAssetId(Long assetId);

    /**
     * 查询资产记录从列表
     * 
     * @param eamManageD 资产记录从
     * @return 资产记录从集合
     */
    public List<EamManageD> selectEamManageDList(EamManageD eamManageD);

    /**
     * 新增资产记录从
     * 
     * @param eamManageD 资产记录从
     * @return 结果
     */
    public int insertEamManageD(EamManageD eamManageD);

    /**
     * 修改资产记录从
     * 
     * @param eamManageD 资产记录从
     * @return 结果
     */
    public int updateEamManageD(EamManageD eamManageD);

    /**
     * 删除资产记录从
     * 
     * @param assetId 资产记录从主键
     * @return 结果
     */
    public int deleteEamManageDByAssetId(Long assetId);

    /**
     * 批量删除资产记录从
     * 
     * @param assetIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEamManageDByAssetIds(String[] manageId);


    EamManageD selectEamManageDByManageId(String manageId);


    public int updateDelEamD(String[] manageIds);
}
